package com.wyl.showtype.basic.geo;

import com.wyl.showtype.ShowType;
import com.wyl.showtype.basic.geo.geojson.GeoFeature;
import com.wyl.showtype.basic.geo.geojson.GeoJson;
import com.wyl.showtype.basic.geo.geojson.GeoTypeEnum;

import java.util.List;

/**
 * @author 吴宇亮 on 2023/4/21 10:41
 */
public class GeoFeatureVo extends GeoJson implements ShowType {

    private GeoTypeEnum type = GeoTypeEnum.Feature;

    private List<GeoFeature> features;

    @Override
    public GeoTypeEnum getType() {
        return type;
    }

    public List<GeoFeature> getFeatures() {
        return features;
    }

    public GeoFeatureVo setFeatures(List<GeoFeature> features) {
        this.features = features;
        return this;
    }
}
